﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace MenuControl
{
    public partial class Menu : UserControl
    {
        public event EventHandler StartGame;
        public event EventHandler CloseGame;
        public Menu()
        {
            InitializeComponent();
        }

        private void btn_startGame_Click(object sender, EventArgs e)
        {
            this.Visible = false;
            StartGame(sender, e);
        }

        private void btn_exit_Click(object sender, EventArgs e)
        {
            CloseGame(sender, e);
        }
    }
}
